package router

import (
	"github.com/gin-gonic/gin"
	"week2_api/internal/api"
)

func NumRouter(c *gin.RouterGroup) {
	numRouter := c.Group("num")
	{
		numRouter.POST("create", api.Create)
		numRouter.GET("list", api.List)
		numRouter.POST("update", api.Update)
	}
}
